package co.baiku.boot.core.orm.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Collection;

public interface BaseDAO<T, ID> extends BaseMapper<T> {
    int batchInsert(@Param("list") Collection<T> entities);

    int batchUpdate(@Param("list") Collection<T> entities);
}
